package cn.zs.groupmarket.infrastructure.dao;

import cn.zs.groupmarket.infrastructure.dao.po.GroupBuyOrder;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Set;

@Mapper
public interface IGroupBuyOrderDao extends BaseMapper<GroupBuyOrder> {


    int updateAddLockCount(String teamId);

    List<GroupBuyOrder> queryGroupBuyProgressByTeamIds(Set<String> teamIds);

    Integer queryAllTeamCount(Set<String> teamIds);

    Integer queryAllTeamCompleteCount(Set<String> teamIds);

    Integer queryAllUserCount(Set<String> teamIds);
}
